home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / bcfamily / source / viogphys.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-12  |  625 b   |  23 lines

  1. //
  2. //      *******************************************************************
  3. //        JdeBP C++ Library Routines          General Public Licence v1.00
  4. //            Copyright (c) 1991,1992     Jonathan de Boyne Pollard
  5. //      *******************************************************************
  6. //
  7. // Part of FamAPI.LIB
  8. //
  9.  
  10. #include "famapi.h"
  11. #include "vio.h"
  12.  
  13. //
  14. //    Return addresses of physical buffer
  15. //
  16. USHORT _APICALL
  17. VioGetPhysBuf    ( VIOPHYSBUF far *PtrBuffer,
  18.                   unsigned short Reserved )
  19. {
  20.     PtrBuffer->pBuf = (unsigned char far *)VioDosPointer(0, 0) ;
  21.     PtrBuffer->asel[0] = FP_SEG(PtrBuffer->pBuf) ;
  22.     return NO_ERROR ;
  23. }